package cn.yunhe.springboot_shiro.service;

import cn.yunhe.springboot_shiro.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.Set;

public interface IUserService {
    User login(@Param("username") String name);

    Set<String> getRoles(@Param("username") String name);

    Set<String> getPermission(@Param("username") String name);
}
